package com.learn.dict;

import com.learn.dict.event.DictReloadPublishEvent;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import javax.annotation.Resource;

@SpringBootTest
class SpringBootDictApplicationTests {

    @Resource
    private DictReloadPublishEvent dictReloadPublishEvent;

    @Test
    void contextLoads() {
        dictReloadPublishEvent.publishEvent("SEX_TYPE");

    }

}
